module SvmToolkit

  # Extends the Java Node class.
  #
  # Node is used to store the index/value pair for an individual 
  # feature of an instance.
  #
  class Node

    # Constructor:
    # index:: Index of this node in feature set.
    # value:: Value of this node in feature set.
    def initialize(index, value)
      super()
      self.index = index
      self.value = value
    end
  end

end

